Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DNS service discovery #333

Merged
merged 1 commit into from
Jul 19, 2022
Merged

DNS service discovery #333

merged 1 commit into from
Jul 19, 2022

Conversation

michalszynkiewicz
Copy link
Collaborator

@michalszynkiewicz michalszynkiewicz changed the title DNS service discovery - no docs yet DNS service discovery Jul 7, 2022
@michalszynkiewicz
Copy link
Collaborator Author

after a bit of thought I started wondering if going purely with UDP to talk with the DNS server is not a better option.
Vertx supports UDP and it will give us a possibility to read port and other additional info some service discovery poviders put into the response (Consul for one adds port)

@cescoffier
Copy link
Contributor

Isn't DNS over UDP still a bit young?
Adding an option for that, yes. Forcing it, I'm not sure.

@michalszynkiewicz
Copy link
Collaborator Author

michalszynkiewicz commented Jul 8, 2022

From what I read while working on this, DNS is primarily over UDP, with fallback to TCP

@cescoffier
Copy link
Contributor

Even on cloud providers? That's my concern. On the Cloud, UDP is not working great (most of the time)

@michalszynkiewicz
Copy link
Collaborator Author

Good point, I'll convert this PR to draft then, I think the vertx resolver that I'm using by default does UDP.

@michalszynkiewicz michalszynkiewicz marked this pull request as draft July 8, 2022 09:03
core/src/main/java/io/smallrye/stork/utils/Pair.java Outdated Show resolved Hide resolved
docs/service-discovery/dns.md Outdated Show resolved Hide resolved
docs/service-discovery/dns.md Outdated Show resolved Hide resolved
docs/service-discovery/dns.md Outdated Show resolved Hide resolved
docs/service-discovery/dns.md Outdated Show resolved Hide resolved
docs/service-discovery/dns.md Show resolved Hide resolved
@cescoffier cescoffier merged commit a8d0ce1 into smallrye:main Jul 19, 2022
@cescoffier cescoffier added this to the 1.2.0 milestone Aug 25, 2022
@cescoffier cescoffier added the new-feature New Features label Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature New Features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DNS SD service discovery
3 participants